package com.wanhe.base.model.holder;

import com.wanhe.base.model.disgn.VideoModel;

import java.util.HashMap;

/**
 * Created by Administrator on 2016/6/23.
 */
public class VideoHolder extends HashMap<String, VideoModel> {
    private static VideoHolder ourInstance;

    public static VideoHolder getInstance() {
        if (ourInstance == null) {
            ourInstance = new VideoHolder();
        }
        return ourInstance;
    }

    private VideoHolder() {
    }

    public void release() {
        ourInstance.clear();
        ourInstance = null;
    }
}
